package com.iyue.activity.helper;

import javax.servlet.http.HttpServletRequest;

import com.iyue.portal.helper.PortalController;

/**
 * 《网站入口》控制器
 * 
 * @author 孙晓晔
 * @version $Id: PortalAction.java,v 1.1 2010/10/14 17:07:15 fresh Exp $
 */
public class ActivityAction extends PortalController {
	/**
	 * 
	 * @see com.iyue.portal.helper.PortalController#pretreat(javax.servlet.http.HttpServletRequest)
	 */
	@Override
	protected void pretreat(HttpServletRequest request) {
		request.setAttribute("APP_LIB", "com.iyue.activity");
		request.setAttribute("APP_PRODUCT", "activity/");

		String action = request.getParameter("do");
		if (action == null || action.length() < 1) {
			action = "Activity.layout";
		}
		request.setAttribute("do", action);

		super.pretreat(request);
	}

	@Override
	protected void visitlog(HttpServletRequest request) {

	}

}
